/**
 * Copyright (c) 2012 Fujian FUNO Mobile Communication Technology Co., Ltd.
 * All rights reserved by FUNO.
 */
package org.quartz.examples.mytest;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.jobs.ee.mail.SendMailJob;

/** 
 * TODO
 * 
 * @version V1.1
 * @author zhangguangying
 * @date 2013-1-21
 */
public class MyJob extends SendMailJob {

	/* (non-Javadoc)
	 * @see org.quartz.Job#execute(org.quartz.JobExecutionContext)
	 */
	public void execute(JobExecutionContext arg0) throws JobExecutionException {
		
		System.out.println("------------------方法调度开始-------------------");
		
		MailInfo mailInfo = this.createMailInfo();
		mailInfo.setFrom("zhangguangying05@126.com");
		mailInfo.setContentType("text");
		mailInfo.setTo("380170355@qq.com");
		mailInfo.setSubject("dddddddddddddddd");
		mailInfo.setMessage("eeeeeeeeeeeeeeeeeeeeeeee范德萨发的");
		
		System.out.println("------------------方法调度结束-------------------");
	}
	
}
